package org.dromara.chicken.domain.vo;

import java.math.BigDecimal;
import java.util.Date;

import org.dromara.chicken.domain.FarmProcess;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 饲料加工视图对象 farm_process
 *
 * @author Mr Lei QQ:235921049
 * @date 2024-06-25
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = FarmProcess.class)
public class FarmProcessVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 订单编号
     */
    @ExcelProperty(value = "订单编号")
    private String orderNo;

    /**
     * 自制料id
     */
    @ExcelProperty(value = "自制料id")
    private Long productId;

    /**
     * 自制料单价
     */
    @ExcelProperty(value = "自制料单价")
    private BigDecimal price;

    /**
     * 总数
     */
    @ExcelProperty(value = "总数")
    private BigDecimal totalNum;

    /**
     * 总价格
     */
    @ExcelProperty(value = "总价格")
    private BigDecimal totalMoney;

    /**
     * 加工时间
     */
    @ExcelProperty(value = "加工时间")
    private Long operatorTime;

    /**
     * 审核状态
     */
    @ExcelProperty(value = "审核状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "order_status")
    private Integer auditStatus;

    /**
     * 审核时间
     */
    @ExcelProperty(value = "审核时间")
    private Date auditTime;

    /**
     * 审核人
     */
    @ExcelProperty(value = "审核人")
    private Long auditBy;


}
